package com.yellowpage.alarm.dao;

import java.util.List;

import com.yellowpage.white.dao.BaseDaoHibernateImpl;

import com.yellowpage.alarm.data.AlarmInfoUser;

public class AlarmInfoUserDaoImpl extends
		BaseDaoHibernateImpl<AlarmInfoUser, Long> implements AlarmInfoUserDao {

	public AlarmInfoUserDaoImpl() {
		super(AlarmInfoUser.class);
	}

	@Override
	public List<AlarmInfoUser> getAlarmInfoUsersByAlarmType(String alarmType) {
		return getObjectListByConditions(
				"from AlarmInfoUser where alarm_Type=? ",
				new Object[] { alarmType });
	}

}